import request from '@/utils/request'

// 全院房间管理列表
export function apiRoomHospitalLists(params: any) {
    return request.get({url: '/room.room_hospital/lists', params})
}

// 添加全院房间管理
export function apiRoomHospitalAdd(params: any) {
    return request.post({url: '/room.room_hospital/add', params})
}

// 编辑全院房间管理
export function apiRoomHospitalEdit(params: any) {
    return request.post({url: '/room.room_hospital/edit', params})
}

// 删除全院房间管理
export function apiRoomHospitalDelete(params: any) {
    return request.post({url: '/room.room_hospital/delete', params})
}

// 全院房间管理详情
export function apiRoomHospitalDetail(params: any) {
    return request.get({url: '/room.room_hospital/detail', params})
}

// 全院房间更新费用
export function apiRoomHospitalUpdateFee(params: any) {
    return request.get({url: '/room.room_hospital/updateFee', params})
}

// 全院房间月初始化
export function apiRoomHospitalNewMonth(params: any) {
    return request.get({url: '/room.room_hospital/newMonth', params})
}

// 编辑全院房间管理
export function hospitalSearchLists(params: any) {
    return request.post({url: '/room.room_hospital/searchLists', params})
}

// 快速设置公寓房间管理
export function apiRoomHospitalSave(params: any) {
    return request.post({ url: '/room.room_hospital/setSave', params })
}
